package com.yilife.hmstr.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * 五行报告实体类
 * Created by dede on 2017/3/7.
 */
@SuppressWarnings("serial")
@TableName(value="five_elements_report")
public class FiveElementsReport extends Model<FiveElementsReport> {
    @TableField(value = "hepatobiliary_value")
    private int hepatobiliaryValue;//肝胆值

    @TableField(value = "hepatobiliary_state")
    private String hepatobiliaryState;//肝胆状态

    @TableField(value = "hepatobiliary_analysis")
    private String hepatobiliaryAnalysis;//肝胆分析

    @TableField(value = "heart_intestine_value")
    private int heartIntestineValue;//心小肠值

    @TableField(value = "heart_intestine_state")
    private String heartIntestineState;//心小肠状态

    @TableField(value = "heart_intestine_analysis")
    private String heartIntestineAnalysis;//心小肠分析

    @TableField(value = "spleen_stomach_value")
    private int spleenStomachValue;//脾胃值

    @TableField(value = "spleen_stomach_state")
    private String spleenStomachState;//脾胃状态

    @TableField(value = "spleen_stomach_analysis")
    private String spleenStomachAnalysis;//脾胃分析

    @TableField(value = "lung_large_intestine_value")
    private int lungLargeIntestineValue;//肺大肠值

    @TableField(value = "lung_large_intestine_state")
    private String lungLargeIntestineState;//肺大肠状态

    @TableField(value = "lung_large_intestine_analysis")
    private String lungLargeIntestineAnalysis;//肺大肠分析

    @TableField(value = "kidney_bladder_value")
    private int kidneyBladderValue;//肾膀胱值

    @TableField(value = "kidney_bladder_state")
    private String kidneyBladderState;//肾膀胱状态

    @TableField(value = "kidney_bladder_analysis")
    private String kidneyBladderAnalysis;//肾膀胱分析

    /**
     *表里关系
     */
    private String relationship;
    /**
     *养护理由
     */
    @TableField(value = "maintenance_reason")
    private String maintenanceReason;
    /**
     *养护之道
     */
    @TableField(value = "way_of_curing")
    private String wayOfCuring;
    /**
     *外键、主键
     */
    @TableId(value = "hmstr_id")
    private Long hmstrId;


    public FiveElementsReport() {
        super();
    }


    public FiveElementsReport(int hepatobiliaryValue, String hepatobiliaryState, String hepatobiliaryAnalysis,
                              int heartIntestineValue, String heartIntestineState, String heartIntestineAnalysis, int spleenStomachValue,
                              String spleenStomachState, String spleenStomachAnalysis, int lungLargeIntestineValue,
                              String lungLargeIntestineState, String lungLargeIntestineAnalysis, int kidneyBladderValue,
                              String kidneyBladderState, String kidneyBladderAnalysis, String relationship, String maintenanceReason,
                              String wayOfCuring, Long hmstrId) {
        super();
        this.hepatobiliaryValue = hepatobiliaryValue;
        this.hepatobiliaryState = hepatobiliaryState;
        this.hepatobiliaryAnalysis = hepatobiliaryAnalysis;
        this.heartIntestineValue = heartIntestineValue;
        this.heartIntestineState = heartIntestineState;
        this.heartIntestineAnalysis = heartIntestineAnalysis;
        this.spleenStomachValue = spleenStomachValue;
        this.spleenStomachState = spleenStomachState;
        this.spleenStomachAnalysis = spleenStomachAnalysis;
        this.lungLargeIntestineValue = lungLargeIntestineValue;
        this.lungLargeIntestineState = lungLargeIntestineState;
        this.lungLargeIntestineAnalysis = lungLargeIntestineAnalysis;
        this.kidneyBladderValue = kidneyBladderValue;
        this.kidneyBladderState = kidneyBladderState;
        this.kidneyBladderAnalysis = kidneyBladderAnalysis;
        this.relationship = relationship;
        this.maintenanceReason = maintenanceReason;
        this.wayOfCuring = wayOfCuring;
        this.hmstrId = hmstrId;
    }


    @Override
    public String toString() {
        return "FiveElementsReport [hepatobiliaryValue=" + hepatobiliaryValue + ", hepatobiliaryState="
                + hepatobiliaryState + ", hepatobiliaryAnalysis=" + hepatobiliaryAnalysis + ", heartIntestineValue="
                + heartIntestineValue + ", heartIntestineState=" + heartIntestineState + ", heartIntestineAnalysis="
                + heartIntestineAnalysis + ", spleenStomachValue=" + spleenStomachValue + ", spleenStomachState="
                + spleenStomachState + ", spleenStomachAnalysis=" + spleenStomachAnalysis + ", lungLargeIntestineValue="
                + lungLargeIntestineValue + ", lungLargeIntestineState=" + lungLargeIntestineState
                + ", lungLargeIntestineAnalysis=" + lungLargeIntestineAnalysis + ", kidneyBladderValue="
                + kidneyBladderValue + ", kidneyBladderState=" + kidneyBladderState + ", kidneyBladderAnalysis="
                + kidneyBladderAnalysis + ", relationship=" + relationship + ", maintenanceReason=" + maintenanceReason
                + ", wayOfCuring=" + wayOfCuring + ", hmstrId=" + hmstrId + "]";
    }


    public int getHepatobiliaryValue() {
        return hepatobiliaryValue;
    }


    public void setHepatobiliaryValue(int hepatobiliaryValue) {
        this.hepatobiliaryValue = hepatobiliaryValue;
    }


    public String getHepatobiliaryState() {
        return hepatobiliaryState;
    }


    public void setHepatobiliaryState(String hepatobiliaryState) {
        this.hepatobiliaryState = hepatobiliaryState;
    }


    public String getHepatobiliaryAnalysis() {
        return hepatobiliaryAnalysis;
    }


    public void setHepatobiliaryAnalysis(String hepatobiliaryAnalysis) {
        this.hepatobiliaryAnalysis = hepatobiliaryAnalysis;
    }


    public int getHeartIntestineValue() {
        return heartIntestineValue;
    }


    public void setHeartIntestineValue(int heartIntestineValue) {
        this.heartIntestineValue = heartIntestineValue;
    }


    public String getHeartIntestineState() {
        return heartIntestineState;
    }


    public void setHeartIntestineState(String heartIntestineState) {
        this.heartIntestineState = heartIntestineState;
    }


    public String getHeartIntestineAnalysis() {
        return heartIntestineAnalysis;
    }


    public void setHeartIntestineAnalysis(String heartIntestineAnalysis) {
        this.heartIntestineAnalysis = heartIntestineAnalysis;
    }


    public int getSpleenStomachValue() {
        return spleenStomachValue;
    }


    public void setSpleenStomachValue(int spleenStomachValue) {
        this.spleenStomachValue = spleenStomachValue;
    }


    public String getSpleenStomachState() {
        return spleenStomachState;
    }


    public void setSpleenStomachState(String spleenStomachState) {
        this.spleenStomachState = spleenStomachState;
    }


    public String getSpleenStomachAnalysis() {
        return spleenStomachAnalysis;
    }


    public void setSpleenStomachAnalysis(String spleenStomachAnalysis) {
        this.spleenStomachAnalysis = spleenStomachAnalysis;
    }


    public int getLungLargeIntestineValue() {
        return lungLargeIntestineValue;
    }


    public void setLungLargeIntestineValue(int lungLargeIntestineValue) {
        this.lungLargeIntestineValue = lungLargeIntestineValue;
    }


    public String getLungLargeIntestineState() {
        return lungLargeIntestineState;
    }


    public void setLungLargeIntestineState(String lungLargeIntestineState) {
        this.lungLargeIntestineState = lungLargeIntestineState;
    }


    public String getLungLargeIntestineAnalysis() {
        return lungLargeIntestineAnalysis;
    }


    public void setLungLargeIntestineAnalysis(String lungLargeIntestineAnalysis) {
        this.lungLargeIntestineAnalysis = lungLargeIntestineAnalysis;
    }


    public int getKidneyBladderValue() {
        return kidneyBladderValue;
    }


    public void setKidneyBladderValue(int kidneyBladderValue) {
        this.kidneyBladderValue = kidneyBladderValue;
    }


    public String getKidneyBladderState() {
        return kidneyBladderState;
    }


    public void setKidneyBladderState(String kidneyBladderState) {
        this.kidneyBladderState = kidneyBladderState;
    }


    public String getKidneyBladderAnalysis() {
        return kidneyBladderAnalysis;
    }


    public void setKidneyBladderAnalysis(String kidneyBladderAnalysis) {
        this.kidneyBladderAnalysis = kidneyBladderAnalysis;
    }


    public String getRelationship() {
        return relationship;
    }


    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }


    public String getMaintenanceReason() {
        return maintenanceReason;
    }


    public void setMaintenanceReason(String maintenanceReason) {
        this.maintenanceReason = maintenanceReason;
    }


    public String getWayOfCuring() {
        return wayOfCuring;
    }


    public void setWayOfCuring(String wayOfCuring) {
        this.wayOfCuring = wayOfCuring;
    }


    public Long getHmstrId() {
        return hmstrId;
    }


    public void setHmstrId(Long hmstrId) {
        this.hmstrId = hmstrId;
    }


    @Override
    protected Serializable pkVal() {
        // TODO Auto-generated method stub
        return hmstrId;
    }
}

